using System.ComponentModel.DataAnnotations;

namespace FytSoa.Application.Crm.Param;

public class CrmContactAdd : AppEntity
{
    /// <summary>
    /// 所属客户
    /// </summary>
    [Required]
    public long CustomerId { get; set; }

    /// <summary>
    /// 是否紧急联系人
    /// </summary>
    [Required]
    public bool IsUrgent { get; set; } = false;

    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 手机号码
    /// </summary>
    public string Mobile { get; set; }

    /// <summary>
    /// 座机号
    /// </summary>
    public string Tel { get; set; }

    /// <summary>
    /// 邮箱
    /// </summary>
    public string Email { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    public string Sex { get; set; }

    /// <summary>
    /// 职务
    /// </summary>
    public string Post { get; set; }

    /// <summary>
    /// 所属区县
    /// </summary>
    public string County { get; set; }

    /// <summary>
    /// 详细地址
    /// </summary>
    public string Address { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 状态1=正常0=关闭
    /// </summary>
    [Required]
    public bool Status { get; set; } = true;
}